package com.renatn.yach.dao;

import com.renatn.yach.domain.DomainObject;

import java.util.List;

/**
 * User: rnasyrov
 * Date: 10.01.12
 * Time: 14:57
 */
public interface GenericDao<T extends DomainObject> {

    public T get(Long id);
    
    public List<T> getAll();

    public void save(T object);

}
